﻿using System;
using System.Reflection;
using System.Collections.Generic;
using System.Text;

using Open.Data.Persistence.Hashes;

namespace Open.Data.Persistence
{
    //Contains information about a DataBinder object
    public class BinderInfo
    {
        public IDataBinder Binder { get; set; }
        public IQuery Query { get; set; }
        public LabelHash Label { get; set; }
        public string TableName { get; set; }
        public PropertyInfo[] Indexes { get; set; }
        public List<int> Ordinals { get; set; }
        public Dictionary<string, byte> Keys;
        public List<IPersistable> Objects;
        public string PreviousKey {get; set;}
    }
}
